<template>
  <ItButton @click="showPopup = true">弹窗</ItButton>
  <ItPopup v-if="showPopup" @close="showPopup = false">
    <div class="Popup-model block-box">弹窗内容</div>
  </ItPopup>
</template>
<script setup>
import { ref } from 'vue'
import { ItButton, ItPopup } from '@/components'
const showPopup = ref(false)
</script>
<style scoped>
.Popup-model {
  width: 500px;
  height: 300px;
  padding: 30px;
}
</style>
